<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div style="background-color: red;">
        <span align="center" style="color: white;font-size: larger;width: 50px;display: inline-block;">1</span>
        <span>当标签的内容大小超出了标签的宽度</span>
    </div>
    <div style="background-color: red;">
        <span align="center" style="color: white;font-size: larger;width: 50px;display: inline-block;">2</span>
        <span>当标签的内容大小超出了标签的宽度</span>
    </div>
    <div style="background-color: red;">
        <span align="center" style="color: white;font-size: larger;width: 50px;display: inline-block;">3</span>
        <span>当标签的内容大小超出了标签的宽度</span>
    </div>
    <div style="background-color: red;">
        <span align="center" style="color: white;font-size: larger;width: 50px;display: inline-block;">4</span>
        <span>当标签的内容大小超出了标签的宽度</span>
    </div>
</body>
</html>